/*
    郭辉
*/
.select .placeholder {
  @include flex-normal;
  align-items: center;
  position: relative;
  background-color: #393d41;
  z-index: 1;
  padding: 0 1em;
  height: 35px;
  border-radius: 2px;
  cursor: pointer;
}
.select .placeholder:hover {
  background: #34383c;
}
.select .placeholder:after {
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'iconfont';
  content: '\e8a4';
  z-index: 10;
}
.select.is-open .placeholder:after {
  content: '\e74c';
}
.select {
  &.is-open{
    ul{
      display: block;
    }
  }
}
.select.select--white .placeholder {
  background: #e5e3e3;
  color: #999;
}
.placeholder{
  &.empty{
    color: #8c8787;
  }
}
.select.select--white .placeholder:hover {
  background: #fafafa;
}
.select ul {
  display: none;
  position: absolute;
  max-height: 300px;
  overflow-y: auto;
  width: 100%;
  background: #fafafa;
  border-radius: 2px;
  box-shadow: 0 0 5px 1px rgba(0,0,0, .2);
  top: 100%;
  left: 0;
  list-style: none;
  margin: 5px 0 0 0;
  padding: 0;
  z-index: 20;
}
.select ul li {
  display: block;
  text-align: left;
  padding: 0.8em 1em 0.8em 1em;
  color: #b4b4b4;
  cursor: pointer;
  border-bottom: 1px solid #dddddd;
  &:last-child{
    border-bottom: none;
  }
}
.select ul li:hover {
  color: #fff!important;
  background: #4ebbf0;
}

.select ul li.on {
  color: #4ebbf0;
}
.select {
  font-size: 14px;
  position: relative;
  display: block;
  width: 100%;
  height: 35px;
  min-width: 180px;
  max-width: 325px;
  color: #cccccc;
  vertical-align: middle;
  text-align: left;
  user-select: none;
  border-radius: 2px;
  box-shadow: 0 0 1px 1px rgba(255,255,255,.5);
  -webkit-touch-callout: none;
  z-index: 20;
  &.plain{
    box-shadow:none;
    width: auto;
    min-width: 100px;
    .placeholder{
      background: none;
      color: #767c85;
      @include flex-normal;
      padding: 0;
      &:after{
        position: static!important;
        //right: 1em;
        //top: 50%;
        transform: translateY(0);
        margin-left: 5px;
        font-family: 'iconfont';
        content: '\e8a4';
        z-index: 10;
      }
    }
    //ul{
    //  width: 100px;
    //}
  }
}

